<template>
  <div>
    username
    <input type="text" v-model="username">
  </div>
</template>
<script setup>
const username = defineModel({ default: 'lili' });
console.log(username.value);
</script>